Navigation


Changeset 1186:56c36d1007b4 in freeDiameter for libfdcore/p_psm.c


Ignore:
Timestamp:
Jun 7, 2013, 7:48:34 PM (11 years ago)
Author:
Sebastien Decugis <sdecugis@freediameter.net>
Branch:
default
Phase:
public
Message:

Further preparation of the DTLS integration. Some cleanups in the GNUTLS handling.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libfdcore/p_psm.c

    r1181 r1186  
    7272Note about (5) and (6): if the Diameter Identity received in CER or CEA
    7373does not match the credentials from the certificate presented during
    74 DTLS handshake, we may need to specify a path of clean disconnection
     74TLS handshake, we may need to specify a path of clean disconnection
    7575(not blocking the remote peer waiting for something).
    7676
     
    601601                                if (msg == NULL) {
    602602                                        /* Send the error back to the peer */
    603                                         CHECK_FCT_DO( ret = fd_out_send(&error, NULL, peer, FD_CNX_ORDERED),  );
     603                                        CHECK_FCT_DO( ret = fd_out_send(&error, NULL, peer),  );
    604604                                        if (error) {
    605605                                                char buf[256];
     
    655655
    656656                                                /* Send the answer */
    657                                                 CHECK_FCT_DO( fd_out_send(&msg, peer->p_cnxctx, peer, FD_CNX_ORDERED), break );
     657                                                CHECK_FCT_DO( fd_out_send(&msg, peer->p_cnxctx, peer), break );
    658658                                        } while (0);
    659659                                } else {
Note: See TracChangeset for help on using the changeset viewer.