Building a directory structure

This commit is contained in:
jmjatlanta 2016-11-03 09:18:32 -05:00
parent 6c3bf97d6d
commit d5510b905a
4 changed files with 1101 additions and 0 deletions

1075
crypto/encoding/asn1.c Normal file

File diff suppressed because it is too large Load diff

9
crypto/rsa.c Normal file
View file

@ -0,0 +1,9 @@
//
// rsa.c
// c-libp2p
//
// Created by John Jones on 11/3/16.
// Copyright © 2016 JMJAtlanta. All rights reserved.
//
#include <stdio.h>

0
crypto/x509.c Normal file
View file

17
test/testit.c Normal file
View file

@ -0,0 +1,17 @@
int testit(const char* name, int (*func)(void)) {
printf("Testing %s...\n", name);
int retVal = func();
if (retVal)
printf("%s success!\n", name);
else
printf("** Uh oh! %s failed.**\n", name);
return retVal;
}
int main(int argc, char** argv) {
testit("test_repo_config_init", test_repo_config_init);
return 1;
}