]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Fixed wrong return type of cipher_kt_mode
authorFrank de Brabander <brabander@fox-it.com>
Thu, 16 Feb 2012 12:51:04 +0000 (13:51 +0100)
committerDavid Sommerseth <davids@redhat.com>
Thu, 16 Feb 2012 14:13:21 +0000 (15:13 +0100)
commit6449a149f850e9e1207233f3ca642d9342fbfbaf
tree5034db4ffb2e0cbd66a417bbbc3914918de24cc7
parent86e8754cd83d6c91a1ead344aea8c0ee131a9f26
Fixed wrong return type of cipher_kt_mode

The cipher_kt_mode uses bool as return type, this should be int. On
some platforms like OS X, any returned value larger than one will
be converted to 1.

Signed-off-by: Frank de Brabander <brabander@fox-it.com>
Acked-by: Adriaan de Jong <dejong@fox-it.com>
Signed-off-by: David Sommerseth <davids@redhat.com>
crypto_backend.h
crypto_openssl.c
crypto_polarssl.c