Cleanup: rename EVP_MD_CTX_(create|init|destroy) to EVP_MD_CTX_(new|reset|free)
authorRichard Levitte <levitte@openssl.org>
Tue, 1 Dec 2015 23:26:19 +0000 (00:26 +0100)
committerRichard Levitte <levitte@openssl.org>
Mon, 7 Dec 2015 16:39:23 +0000 (17:39 +0100)
commit959ed5316c84d0e12ad18acfd40cefe15603ddfb
tree3856dabccdc4091e6feea61ec831695ce090e57b
parent67565323589932ef36e84d95b07bcc97325c9961
Cleanup: rename EVP_MD_CTX_(create|init|destroy) to EVP_MD_CTX_(new|reset|free)

Looking over names, it seems like we usually use names ending with
_new and _free as object constructors and destructors.  Also, since
EVP_MD_CTX_init is now used to reset a EVP_MD_CTX, it might as well be
named accordingly.

Reviewed-by: Rich Salz <rsalz@openssl.org>
crypto/evp/digest.c
include/openssl/evp.h
util/libeay.num