mirror of
https://github.com/sonertari/SSLproxy
synced 2024-11-19 21:25:28 +00:00
parent
96b038ef9b
commit
d7cccacc05
2
ssl.c
2
ssl.c
@ -1902,6 +1902,7 @@ out:
|
|||||||
DBG_printf("%zd bytes unparsed\n", n);
|
DBG_printf("%zd bytes unparsed\n", n);
|
||||||
return servername;
|
return servername;
|
||||||
}
|
}
|
||||||
|
#endif /* !OPENSSL_NO_TLSEXT */
|
||||||
|
|
||||||
int
|
int
|
||||||
ssl_tls_clienthello_identify(const unsigned char *buf, ssize_t *sz)
|
ssl_tls_clienthello_identify(const unsigned char *buf, ssize_t *sz)
|
||||||
@ -1984,6 +1985,5 @@ out2:
|
|||||||
DBG_printf("%zd bytes unparsed\n", n);
|
DBG_printf("%zd bytes unparsed\n", n);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
#endif /* !OPENSSL_NO_TLSEXT */
|
|
||||||
|
|
||||||
/* vim: set noet ft=c: */
|
/* vim: set noet ft=c: */
|
||||||
|
2
ssl.h
2
ssl.h
@ -167,9 +167,9 @@ int ssl_is_ocspreq(const unsigned char *, size_t) NONNULL(1) WUNRES;
|
|||||||
#ifndef OPENSSL_NO_TLSEXT
|
#ifndef OPENSSL_NO_TLSEXT
|
||||||
char * ssl_tls_clienthello_parse_sni(const unsigned char *, ssize_t *)
|
char * ssl_tls_clienthello_parse_sni(const unsigned char *, ssize_t *)
|
||||||
NONNULL(1,2) MALLOC;
|
NONNULL(1,2) MALLOC;
|
||||||
|
#endif /* !OPENSSL_NO_TLSEXT */
|
||||||
int ssl_tls_clienthello_identify(const unsigned char *, ssize_t *)
|
int ssl_tls_clienthello_identify(const unsigned char *, ssize_t *)
|
||||||
NONNULL(1,2);
|
NONNULL(1,2);
|
||||||
#endif /* !OPENSSL_NO_TLSEXT */
|
|
||||||
int ssl_dnsname_match(const char *, size_t, const char *, size_t)
|
int ssl_dnsname_match(const char *, size_t, const char *, size_t)
|
||||||
NONNULL(1,3) WUNRES;
|
NONNULL(1,3) WUNRES;
|
||||||
char * ssl_wildcardify(const char *) NONNULL(1) MALLOC;
|
char * ssl_wildcardify(const char *) NONNULL(1) MALLOC;
|
||||||
|
Loading…
Reference in New Issue
Block a user