Honour escaped slashes in regular expressions.
[radsecproxy.git] / tlscommon.c
index 6739f03..619808b 100644 (file)
@@ -1,10 +1,6 @@
-/*
- * Copyright (C) 2006-2009 Stig Venaas <venaas@uninett.no>
- *
- * Permission to use, copy, modify, and distribute this software for any
- * purpose with or without fee is hereby granted, provided that the above
- * copyright notice and this permission notice appear in all copies.
- */
+/* Copyright (c) 2007-2009, UNINETT AS
+ * Copyright (c) 2010-2011, NORDUnet A/S */
+/* See LICENSE for licensing information. */
 
 #if defined(RADPROT_TLS) || defined(RADPROT_DTLS)
 #include <signal.h>
@@ -32,7 +28,6 @@
 #include <openssl/md5.h>
 #include <openssl/x509v3.h>
 #include "debug.h"
-#include "list.h"
 #include "hash.h"
 #include "util.h"
 #include "hostport.h"
@@ -231,7 +226,7 @@ static SSL_CTX *tlscreatectx(uint8_t type, struct tls *conf) {
 
     if (sslversion < 0x00908100L ||
         (sslversion >= 0x10000000L && sslversion < 0x10000020L)) {
-        debug(DBG_WARN, "%s: %s seems to be of a version with a  "
+        debug(DBG_WARN, "%s: %s seems to be of a version with a "
              "certain security critical bug (fixed in OpenSSL 0.9.8p and "
              "1.0.0b).  Disabling OpenSSL session caching for context %p.",
              __func__, SSLeay_version(SSLEAY_VERSION), ctx);