Changeset 07889ab in mod_gnutls


Ignore:
Timestamp:
Nov 16, 2013, 2:46:50 AM (6 years ago)
Author:
Daniel Kahn Gillmor <dkg@…>
Branches:
debian/master, debian/stretch-backports, jessie-backports, master, upstream
Children:
5c0d491
Parents:
e3cbda4
git-author:
Daniel Kahn Gillmor <dkg@…> (01/30/13 06:29:49)
git-committer:
Daniel Kahn Gillmor <dkg@…> (11/16/13 02:46:50)
Message:

MSVA: some initial framework

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/gnutls_hooks.c

    re3cbda4 r07889ab  
    2222#include "ap_mpm.h"
    2323
     24#ifdef ENABLE_MSVA
     25#include <msv/msv.h>
     26#endif
    2427
    2528#if !USING_2_1_RECENT
     
    5861#define _gnutls_log(...)
    5962#endif
     63
     64static const char* mgs_readable_cvm(mgs_client_verification_method_e m) {
     65    switch(m) {
     66    case mgs_cvm_unset:
     67        return "unset";
     68    case mgs_cvm_cartel:
     69        return "cartel";
     70    case mgs_cvm_msva:
     71        return "msva";
     72    }
     73    return "unknown";
     74}
    6075
    6176/* Pre-Configuration HOOK: Runs First */
     
    11381153            }
    11391154        }
    1140     } else if (gnutls_certificate_type_get(ctxt->session) ==
    1141             GNUTLS_CRT_OPENPGP) {
     1155    } else if (gnutls_certificate_type_get(ctxt->session) == GNUTLS_CRT_OPENPGP) {
    11421156        if (cert_list_size > 1) {
    11431157            ap_log_rerror(APLOG_MARK, APLOG_INFO, 0, r,
Note: See TracChangeset for help on using the changeset viewer.