$OpenBSD: patch-base_src_repos_Repository_c,v 1.1 2003/05/23 13:22:14 todd Exp $
--- base/src/repos/Repository.c.orig	Mon Mar 31 10:29:20 2003
+++ base/src/repos/Repository.c	Thu May 22 17:46:43 2003
@@ -50,7 +50,7 @@ Repository *
 repository_open(const char *argURI)
 {
   URI *uri;
-  Repository *r = (Repository *) GC_MALLOC(sizeof(Repository));
+  Repository *r = (Repository *) malloc(sizeof(Repository));
   
   r->uri = uri = uri_create(argURI);
   r->storeType = NULL;
@@ -115,7 +115,7 @@ repository_open(const char *argURI)
 Repository *
 repository_dup(Repository *r)
 {
-  Repository *newR = (Repository *) GC_MALLOC(sizeof(Repository));
+  Repository *newR = (Repository *) malloc(sizeof(Repository));
   memcpy(newR, r, sizeof(*r));
 
   return newR;
@@ -148,7 +148,7 @@ repos_validate_x509_cert(const char *rep
     if ((num = BIO_get_mem_data(saved_cert_mem, &vbuf)) == 0)
       return FALSE;
 
-    saved_cert_data = (char *)GC_MALLOC_ATOMIC(sizeof(char) * (num + 1));
+    saved_cert_data = (char *)malloc(sizeof(char) * (num + 1));
     memcpy(saved_cert_data, vbuf, num);
     saved_cert_data[num] = 0;
 
@@ -158,7 +158,7 @@ repos_validate_x509_cert(const char *rep
     if ((num = BIO_get_mem_data(cert_mem, &vbuf)) == 0)
       return FALSE;
 
-    cert_data = (char *)GC_MALLOC_ATOMIC(sizeof(char) * (num + 1));
+    cert_data = (char *)malloc(sizeof(char) * (num + 1));
     memcpy(cert_data, vbuf, num);
     cert_data[num] = 0;
 
