diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-05-15 16:58:25 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-05-15 16:58:25 +0200 |
commit | ffa17a25d2c2098d4977d377cbf20d0136fea820 (patch) | |
tree | a9ab3a1ab92ac29cbacaa00c28e9d3cc5eae59ca /runtime/nsdsel_gtls.c | |
parent | d594f83a893a517328f55b0b0b3240c4073efb89 (diff) | |
download | rsyslog-ffa17a25d2c2098d4977d377cbf20d0136fea820.tar.gz rsyslog-ffa17a25d2c2098d4977d377cbf20d0136fea820.tar.xz rsyslog-ffa17a25d2c2098d4977d377cbf20d0136fea820.zip |
client provides x.509 and server prints fingerprint
Diffstat (limited to 'runtime/nsdsel_gtls.c')
-rw-r--r-- | runtime/nsdsel_gtls.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/nsdsel_gtls.c b/runtime/nsdsel_gtls.c index 1ee4b46c..f8889a48 100644 --- a/runtime/nsdsel_gtls.c +++ b/runtime/nsdsel_gtls.c @@ -128,9 +128,12 @@ doRetry(nsd_gtls_t *pNsd) switch(pNsd->rtryCall) { case gtlsRtry_handshake: gnuRet = gnutls_handshake(pNsd->sess); + dbgprintf("handshake ret %d\n", gnuRet); if(gnuRet == 0) { /* we got a handshake, now check authorization */ // TODO: do it! + dbgprintf("handshake done\n"); + gtlsChkFingerprint(pNsd); } break; default: |