Don't modify s->read_ahead in SSL_clear, which is called from
[openssl.git] / apps / apps.c
index e5a42d4d97d7b2505092f9de9087514e4a091079..c22550b2945e4504386c57975527917642e52e50 100644 (file)
@@ -660,7 +660,7 @@ STACK_OF(X509) *load_certs(BIO *err, char *file, int format)
 
        if      (format == FORMAT_PEM)
                {
-               othercerts = sk_X509_new(NULL);
+               othercerts = sk_X509_new_null();
                if(!othercerts)
                        {
                        sk_X509_free(othercerts);