Permalink
Browse files

libpcp: compile fix for building without secure sockets

FIxes #95
  • Loading branch information...
1 parent ce871d2 commit b0a14ee5cd47480b5895fa71a47f6f64bff98cd7 @natoscott natoscott committed May 24, 2016
Showing with 4 additions and 2 deletions.
  1. +4 −2 src/libpcp/src/auxserver.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2013-2015 Red Hat.
+ * Copyright (c) 2013-2016 Red Hat.
*
* This library is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published
@@ -886,7 +886,9 @@ __pmServerGetFeaturesFromPDU(__pmPDU *pb)
int
__pmSecureServerSetup(const char *db, const char *passwd)
{
- return __pmSecureServerCertificateSetup(db, passwd, SECURE_SERVER_CERTIFICATE);
+ (void)db;
+ (void)passwd;
+ return 0;
}
int

0 comments on commit b0a14ee

Please sign in to comment.