git: lib/libdmsg: Fix compile warnings on Linux distros

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Mon Sep 2 20:51:42 PDT 2019


commit 5b601f051ed2d561218d138fe76bebe7f7c538e6
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Tue Sep 3 08:00:07 2019 +0900

    lib/libdmsg: Fix compile warnings on Linux distros
    
    --
    crypto.c: In function 'dmsg_crypto_negotiate':
    crypto.c:552: warning: pointer targets in passing argument 2 of 'RSA_private_encrypt' differ in signedness
    /usr/include/openssl/rsa.h:305: note: expected 'const unsigned char *' but argument is of type 'char *'
    crypto.c:552: warning: pointer targets in passing argument 3 of 'RSA_private_encrypt' differ in signedness
    /usr/include/openssl/rsa.h:305: note: expected 'unsigned char *' but argument is of type 'char *'

Summary of changes:
 lib/libdmsg/crypto.c | 16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/5b601f051ed2d561218d138fe76bebe7f7c538e6


-- 
DragonFly BSD source repository



More information about the Commits mailing list