Fix typo in SSL_pending docs
[openssl.git] / crypto / bn / bn_recp.c
index ef23a8c7517e289c74a89f6ecf7d41efbd812b25..ef15c8f170b4d89f107613cf23706b5532ae8fe3 100644 (file)
@@ -1,4 +1,3 @@
-/* crypto/bn/bn_recp.c */
 /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
  * All rights reserved.
  *
@@ -71,7 +70,7 @@ BN_RECP_CTX *BN_RECP_CTX_new(void)
 {
     BN_RECP_CTX *ret;
 
-    if ((ret = OPENSSL_malloc(sizeof(*ret))) == NULL)
+    if ((ret = OPENSSL_zalloc(sizeof(*ret))) == NULL)
         return (NULL);
 
     BN_RECP_CTX_init(ret);