Use 0 not -1 (since type is size_t) for finalisation argument to do_cipher:
authorDr. Stephen Henson <steve@openssl.org>
Mon, 7 Feb 2011 18:04:27 +0000 (18:04 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Mon, 7 Feb 2011 18:04:27 +0000 (18:04 +0000)
commitd45087c672bd24467e6aea4ef05dbe6a5c420d5a
treecd1f1538eb805928364aa178fb93dbe086729ae8
parent634b66186ab76ba4133248f84d076fe94134f257
Use 0 not -1 (since type is size_t) for finalisation argument to do_cipher:
the NULL value for the input buffer is sufficient to notice this case.
CHANGES
crypto/evp/evp_enc.c