Changeset 725:8b03c672261f in freeDiameter
- Timestamp:
- Feb 22, 2011, 3:50:45 PM (13 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- libfdcore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
libfdcore/p_ce.c
r706 r725 820 820 } 821 821 822 /* Save the credentials if handshake already occurred */ 823 if ( fd_cnx_getTLS(peer->p_cnxctx) ) { 824 CHECK_FCT( fd_cnx_getcred(peer->p_cnxctx, &peer->p_hdr.info.runtime.pir_cert_list, &peer->p_hdr.info.runtime.pir_cert_list_size) ); 825 } 826 822 827 /* Validate the peer if needed */ 823 828 if (peer->p_flags.pf_responder) { -
libfdcore/peers.c
r706 r725 457 457 /* First, check if the Origin-Host value */ 458 458 if (!fd_os_is_valid_DiameterIdentity(avp_hdr->avp_value->os.data, avp_hdr->avp_value->os.len)) { 459 TRACE_DEBUG(INFO, "Received new CER with invalid \\0 in itsOrigin-Host");459 TRACE_DEBUG(INFO, "Received new CER with invalid Origin-Host"); 460 460 CHECK_FCT( fd_msg_new_answer_from_req ( fd_g_config->cnf_dict, cer, MSGFL_ANSW_ERROR ) ); 461 461 CHECK_FCT( fd_msg_rescode_set(*cer, "ER_DIAMETER_INVALID_AVP_VALUE",
Note: See TracChangeset
for help on using the changeset viewer.