Source-Changes-D archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/crypto/external/bsd/openssl.old/dist/crypto/hmac
match new with malloc -> calloc please
> +static inline HMAC_CTX *HMAC_CTX_new(void)
> +{
> + HMAC_CTX *ctx = malloc(sizeof(*ctx));
> + if (ctx == NULL)
> + return NULL;
> + HMAC_CTX_init(ctx);
> + return ctx;
> +}
> +
Home |
Main Index |
Thread Index |
Old Index