Update dependencies.
[openssl.git] / crypto / err / err.c
index 5cf621855acdb52aaa5f61e3657f48e537463867..fcd92284e086177c6e984b59ffe71f62e4d5db46 100644 (file)
@@ -108,6 +108,7 @@ static ERR_STRING_DATA ERR_str_libraries[]=
 {ERR_PACK(ERR_LIB_PROXY,0,0)           ,"Proxy routines"},
 {ERR_PACK(ERR_LIB_BIO,0,0)             ,"BIO routines"},
 {ERR_PACK(ERR_LIB_PKCS7,0,0)           ,"PKCS7 routines"},
+{ERR_PACK(ERR_LIB_X509V3,0,0)          ,"X509 V3 routines"},
 {0,NULL},
        };
 
@@ -175,6 +176,9 @@ ERR_STATE *s;
        {
        int i;
 
+       if(s == NULL)
+           return;
+
        for (i=0; i<ERR_NUM_ERRORS; i++)
                {
                err_clear_data(s,i);