Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
belle-sip
Commits
6d0a3031
Commit
6d0a3031
authored
Mar 26, 2014
by
Simon Morlat
Browse files
add accessor
parent
0070128e
Changes
2
Hide whitespace changes
Inline
Side-by-side
include/belle-sip/auth-helper.h
View file @
6d0a3031
...
...
@@ -151,6 +151,7 @@ BELLESIP_EXPORT int belle_tls_verify_policy_set_root_ca(belle_tls_verify_policy_
#define BELLE_TLS_VERIFY_CN_MISMATCH (1)
#define BELLE_TLS_VERIFY_ANY_REASON (0xff)
BELLESIP_EXPORT
void
belle_tls_verify_policy_set_exceptions
(
belle_tls_verify_policy_t
*
obj
,
int
flags
);
BELLESIP_EXPORT
unsigned
int
belle_tls_verify_policy_get_exceptions
(
const
belle_tls_verify_policy_t
*
obj
);
BELLE_SIP_END_DECLS
...
...
src/auth_event.c
View file @
6d0a3031
...
...
@@ -122,4 +122,7 @@ void belle_tls_verify_policy_set_exceptions(belle_tls_verify_policy_t *obj, int
obj
->
exception_flags
=
flags
;
}
unsigned
int
belle_tls_verify_policy_get_exceptions
(
const
belle_tls_verify_policy_t
*
obj
){
return
obj
->
exception_flags
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment