You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sessioninfo.c(62,34): warning: implicit declaration of function 'gnutls_x509_crt_init' is invalid in C99
[-Wimplicit-function-declaration]
if(GNUTLS_E_SUCCESS == gnutls_x509_crt_init(&cert)) {
^
sessioninfo.c(64,16): warning: implicit declaration of function 'gnutls_x509_crt_import' is invalid in C99
[-Wimplicit-function-declaration]
gnutls_x509_crt_import(cert, &chainp[i], GNUTLS_X509_FMT_DER)) {
^
...
Compiling this example, gives some warnings:
I suggest we simply do like in
vtls/gtls.c
:The text was updated successfully, but these errors were encountered: