X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=src%2Fssl.c;h=d337e443c26875f0cb41e48acda3e02a8cc83b71;hb=24eae60940b662324e71fe350108de759dc2511a;hp=e7a53a21d55810354c48d814a52ed58472033a10;hpb=ab2572b38882968076651a36faa1a946e5b097a8;p=umurmur.git diff --git a/src/ssl.c b/src/ssl.c index e7a53a2..d337e44 100644 --- a/src/ssl.c +++ b/src/ssl.c @@ -173,7 +173,7 @@ void SSLi_deinit(void) /* Create SHA1 of last certificate in the peer's chain. */ bool_t SSLi_getSHA1Hash(SSL_handle_t *ssl, uint8_t *hash) { - x509_cert *cert; + x509_cert const *cert; #ifdef POLARSSL_API_V1_2 cert = ssl_get_peer_cert(ssl); #else @@ -201,7 +201,7 @@ SSL_handle_t *SSLi_newconnection(int *fd, bool_t *SSLready) rc = ssl_init(ssl); if (rc != 0 ) - Log_fatal("Failed to initalize: %d", rc); + Log_fatal("Failed to initialize: %d", rc); ssl_set_endpoint(ssl, SSL_IS_SERVER); ssl_set_authmode(ssl, SSL_VERIFY_OPTIONAL);