microsoft / go-crypto-openssl

Go crypto backend for Linux using OpenSSL
MIT License
55 stars 14 forks source link

Silence -Wpointer-sign warnings #62

Closed qmuntal closed 5 months ago

qmuntal commented 5 months ago

Some C compilers assigning a string literal to a const char * variable elicits a warning.

Silence the warnings by casting the offending string literals to unsigned.

Ported from https://github.com/golang-fips/openssl/pull/98.