aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/err
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2001-01-04 19:53:48 +0000
committerDr. Stephen Henson <steve@openssl.org>2001-01-04 19:53:48 +0000
commita8312c0e24a73e70b25d9811de2106f50b32081b (patch)
tree9bcba6edf3346e4401ebedebacc1429c14a32e6a /crypto/err
parentbf0d176e48c6dd44c6cb3250d1e56d9d098f815a (diff)
downloadopenssl-a8312c0e24a73e70b25d9811de2106f50b32081b.tar.gz
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().
Diffstat (limited to 'crypto/err')
-rw-r--r--crypto/err/err_all.c2
1 files changed, 2 insertions, 0 deletions
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 <openssl/rand.h>
#include <openssl/dso.h>
#include <openssl/engine.h>
+#include <openssl/ocsp.h>
#include <openssl/err.h>
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
}