bugfix in cmac calculation example
authorAsfak Rahman <asfak.rahman@stoneridge.com>
Fri, 21 Feb 2020 07:41:29 +0000 (09:41 +0200)
committerTomas Mraz <tmraz@fedoraproject.org>
Wed, 26 Feb 2020 16:21:08 +0000 (17:21 +0100)
commit38e6c4907e3b81f05d384d2c938c55762221de63
treed9160c237d27998876e45c329c39fc8a8c2686e2
parent7d72644025a109d142861a920baf6d5ada590c6e
bugfix in cmac calculation example

The example never executes code inside of the while loop, as read()
returns bigger number than 0. Thus the end result is wrong.

CLA: trivial

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/11143)
doc/man3/EVP_MAC.pod