aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/err
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>1999-04-24 00:15:18 +0000
committerDr. Stephen Henson <steve@openssl.org>1999-04-24 00:15:18 +0000
commit6d31193858f176c276fe5f27d36408977933c1d6 (patch)
tree111d45fb6403491f47cbeed5293016e46b4400b2 /crypto/err
parentdd3c43c5323d236a42efb1c7d6b509b927747953 (diff)
downloadopenssl-6d31193858f176c276fe5f27d36408977933c1d6.tar.gz
Complete rewrite of the error code generation script. It now runs as a single
script, translates function codes better and doesn't need the K&R function prototypes to work (NB. the K&R prototypes can't be wiped just yet: they are still needed by the DEF generator...). I also ran the script with the -rewrite option to update all the header and source files.
Diffstat (limited to 'crypto/err')
-rw-r--r--crypto/err/Makefile.ssl2
-rw-r--r--crypto/err/error.err13
-rw-r--r--crypto/err/openssl.ec (renamed from crypto/err/ssleay.ec)49
3 files changed, 24 insertions, 40 deletions
diff --git a/crypto/err/Makefile.ssl b/crypto/err/Makefile.ssl
index e650fd9b71..009dc9bf72 100644
--- a/crypto/err/Makefile.ssl
+++ b/crypto/err/Makefile.ssl
@@ -74,8 +74,6 @@ dclean:
clean:
rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
-errors:
-
# DO NOT DELETE THIS LINE -- make depend depends on it.
err.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
diff --git a/crypto/err/error.err b/crypto/err/error.err
deleted file mode 100644
index f09557d8d9..0000000000
--- a/crypto/err/error.err
+++ /dev/null
@@ -1,13 +0,0 @@
-/* Error codes for the ERR functions. */
-
-/* Function codes. */
-
-/* Reason codes. */
-#define ERR_R_BN_LIB 100
-#define ERR_R_DER_LIB 101
-#define ERR_R_MALLOC_FAILURE 102
-#define ERR_R_PEM_LIB 103
-#define ERR_R_RSA_LIB 104
-#define ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED 105
-#define ERR_R_SYS_LIB 106
-#define ERR_R_X509_LIB 107
diff --git a/crypto/err/ssleay.ec b/crypto/err/openssl.ec
index 2f9fd16edc..c2a8acff0c 100644
--- a/crypto/err/ssleay.ec
+++ b/crypto/err/openssl.ec
@@ -1,28 +1,27 @@
-L ERR NONE
-L CRYPTO crypto.err
-L BN bn/bn.err
-L RSA rsa/rsa.err
-L DSA dsa/dsa.err
-L DH dh/dh.err
-L EVP evp/evp.err
-L BUF buffer/buffer.err
-L BIO bio/bio.err
-L OBJ objects/objects.err
-L PEM pem/pem.err
-L X509 x509/x509.err
-L X509V3 x509v3/x509v3.err
-L METH meth/meth.err
-L ASN1 asn1/asn1.err
-L CONF conf/conf.err
-L PROXY proxy/proxy.err
-L PKCS7 pkcs7/pkcs7.err
-L PKCS12 pkcs12/pkcs12.err
-L RSAREF ../rsaref/rsaref.err
-L SSL ../ssl/ssl.err
-L SSL2 ../ssl/ssl2.err
-L SSL3 ../ssl/ssl3.err
-L SSL23 ../ssl/ssl23.err
-L COMP comp/comp.err
+L ERR NONE NONE
+L CRYPTO crypto/crypto.h crypto/cpt_err.c
+L BN crypto/bn/bn.h crypto/bn/bn_err.c
+L RSA crypto/rsa/rsa.h crypto/rsa/rsa_err.c
+L DSA crypto/dsa/dsa.h crypto/dsa/dsa_err.c
+L DH crypto/dh/dh.h crypto/dh/dh_err.c
+L EVP crypto/evp/evp.h crypto/evp/evp_err.c
+L BUF crypto/buffer/buffer.h crypto/buffer/buf_err.c
+L BIO crypto/bio/bio.h crypto/bio/bio_err.c
+L OBJ crypto/objects/objects.h crypto/objects/obj_err.c
+L PEM crypto/pem/pem.h crypto/pem/pem_err.c
+L X509 crypto/x509/x509.h crypto/x509/x509_err.c
+L NONE crypto/x509/x509_vfy.h NONE
+L X509V3 crypto/x509v3/x509v3.h crypto/x509v3/v3err.c
+#L METH crypto/meth/meth.h crypto/meth/meth_err.c
+L ASN1 crypto/asn1/asn1.h crypto/asn1/asn1_err.c
+L CONF crypto/conf/conf.h crypto/conf/conf_err.c
+#L PROXY crypto/proxy/proxy.h crypto/proxy/proxy_err.c
+L PKCS7 crypto/pkcs7/pkcs7.h crypto/pkcs7/pkcs7err.c
+L PKCS12 crypto/pkcs12/pkcs12.h crypto/pkcs12/pk12err.c
+L RSAREF rsaref/rsaref.h rsaref/rsar_err.c
+L SSL ssl/ssl.h ssl/ssl_err.c
+L COMP crypto/comp/comp.h crypto/comp/comp_err.c
+
F RSAREF_F_RSA_BN2BIN
F RSAREF_F_RSA_PRIVATE_DECRYPT