Re: CVS commit: src/crypto/external/bsd/openssl.old/dist/crypto/hmac

2018-02-04 Thread maya
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; > +} > +

Re: CVS commit: src/external/bsd/pkg_install/dist/lib

2018-02-04 Thread maya
I'm intentionally verbose in the hopes that someone has a second look at it, it's important to get right. On Sun, Feb 04, 2018 at 09:00:51AM +, Maya Rashish wrote: > Fix OpenSSL 1.1.0 build > OpenSSL 1.1.0 makes xkusage and ex_flags opaque. > Use X509_check_ca rather than a custom and nearly i