Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Feb 2013 08:16:28 +0000 (UTC)
From:      Pietro Cerutti <gahr@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r312089 - head/devel/ucommon/files
Message-ID:  <201302120816.r1C8GStp047541@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gahr
Date: Tue Feb 12 08:16:27 2013
New Revision: 312089
URL: http://svnweb.freebsd.org/changeset/ports/312089

Log:
  - Unbreak on GCC

Added:
  head/devel/ucommon/files/patch-openssl_hmac.cpp   (contents, props changed)

Added: head/devel/ucommon/files/patch-openssl_hmac.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/ucommon/files/patch-openssl_hmac.cpp	Tue Feb 12 08:16:27 2013	(r312089)
@@ -0,0 +1,44 @@
+--- openssl/hmac.cpp.orig	2013-02-12 08:59:05.000000000 +0100
++++ openssl/hmac.cpp	2013-02-12 09:00:43.000000000 +0100
+@@ -17,12 +17,12 @@
+ 
+ #include "local.h"
+ 
+-bool HMAC::has(const char *id)
++bool ::HMAC::has(const char *id)
+ {
+     return (EVP_get_digestbyname(id) != NULL);
+ }
+ 
+-void HMAC::set(const char *digest, const char *key, size_t len)
++void ::HMAC::set(const char *digest, const char *key, size_t len)
+ {
+     secure::init();
+ 
+@@ -39,7 +39,7 @@
+     }
+ }
+ 
+-void HMAC::release(void)
++void ::HMAC::release(void)
+ {
+     if(context)
+         HMAC_cleanup((HMAC_CTX *)context);
+@@ -53,7 +53,7 @@
+     textbuf[0] = 0;
+ }
+ 
+-bool HMAC::put(const void *address, size_t size)
++bool ::HMAC::put(const void *address, size_t size)
+ {
+     if(!context)
+         return false;
+@@ -62,7 +62,7 @@
+     return true;
+ }
+ 
+-const unsigned char *HMAC::get(void)
++const unsigned char *::HMAC::get(void)
+ {
+     unsigned count = 0;
+     unsigned size = 0;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201302120816.r1C8GStp047541>