mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-07-13 02:27:48 +00:00
compilation error
This commit is contained in:
parent
4729b674e0
commit
bf55b4289d
5
.vscode/settings.json
vendored
Normal file
5
.vscode/settings.json
vendored
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
"files.associations": {
|
||||||
|
"any": "c"
|
||||||
|
}
|
||||||
|
}
|
@ -3075,7 +3075,7 @@ static int dtls_state_setup(switch_rtp_t *rtp_session, switch_dtls_t *dtls)
|
|||||||
r = 1;
|
r = 1;
|
||||||
} else if ((cert = SSL_get_peer_certificate(dtls->ssl))) {
|
} else if ((cert = SSL_get_peer_certificate(dtls->ssl))) {
|
||||||
dtls_fingerprint_t fp;
|
dtls_fingerprint_t fp;
|
||||||
fp->type = dtls->remote_fp->type;
|
fp.type = dtls->remote_fp->type;
|
||||||
|
|
||||||
switch_core_cert_extract_fingerprint(cert, &fp);
|
switch_core_cert_extract_fingerprint(cert, &fp);
|
||||||
r = !memcmp(fp.str,dtls->remote_fp->str,MAX_FPLEN);
|
r = !memcmp(fp.str,dtls->remote_fp->str,MAX_FPLEN);
|
||||||
@ -3274,7 +3274,7 @@ static int cb_verify_peer(int preverify_ok, X509_STORE_CTX *ctx)
|
|||||||
|
|
||||||
if ((cert = SSL_get_peer_certificate(dtls->ssl))) {
|
if ((cert = SSL_get_peer_certificate(dtls->ssl))) {
|
||||||
dtls_fingerprint_t fp;
|
dtls_fingerprint_t fp;
|
||||||
fp->type = dtls->remote_fp->type;
|
fp.type = dtls->remote_fp->type;
|
||||||
|
|
||||||
switch_core_cert_extract_fingerprint(cert, &fp);
|
switch_core_cert_extract_fingerprint(cert, &fp);
|
||||||
r = !memcmp(fp.str,dtls->remote_fp->str,MAX_FPLEN);
|
r = !memcmp(fp.str,dtls->remote_fp->str,MAX_FPLEN);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user