commit | 62324627aa3309e4f72e3ff0241801f4286fa242 | [log] [tgz] |
---|---|---|
author | Richard Levitte <levitte@openssl.org> | Sun Sep 17 18:21:27 2000 +0000 |
committer | Richard Levitte <levitte@openssl.org> | Sun Sep 17 18:21:27 2000 +0000 |
tree | bcc120d30197a60057eabeee2f438b214d0df73a | |
parent | 623eea376a7bff6d50c88407c10f279e6f838de4 [diff] [blame] |
Use sk_*_new_null() instead of sk_*_new(NULL), since that takes care of complaints from the compiler about data pointers and function pointers not being compatible with each other.
diff --git a/ssl/ssl_lib.c b/ssl/ssl_lib.c index 1483fad..635b250 100644 --- a/ssl/ssl_lib.c +++ b/ssl/ssl_lib.c
@@ -1036,7 +1036,7 @@ return(NULL); } if ((skp == NULL) || (*skp == NULL)) - sk=sk_SSL_CIPHER_new(NULL); /* change perhaps later */ + sk=sk_SSL_CIPHER_new_null(); /* change perhaps later */ else { sk= *skp;