From a8312c0e24a73e70b25d9811de2106f50b32081b Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Thu, 4 Jan 2001 19:53:48 +0000 Subject: Fix typo in OCSP nonce extension. Set correct type in ASN1_STRING for INTEGER and ENUMERATED types. Make ASN1_INTEGER_get() and ASN1_ENUMERATED_get() return -1 for invalid type rather than 0 (which is often valid). -1 may also be valid but this is less likely. Load OCSP error strings in ERR_load_crypto_strings(). --- crypto/err/err_all.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'crypto/err') diff --git a/crypto/err/err_all.c b/crypto/err/err_all.c index d4f169ec01..f465f260c2 100644 --- a/crypto/err/err_all.c +++ b/crypto/err/err_all.c @@ -83,6 +83,7 @@ #include #include #include +#include #include void ERR_load_crypto_strings(void) @@ -122,5 +123,6 @@ void ERR_load_crypto_strings(void) ERR_load_RAND_strings(); ERR_load_DSO_strings(); ERR_load_ENGINE_strings(); + ERR_load_OCSP_strings(); #endif } -- cgit v1.2.3