Commit e70f1d94 authored by Joel Martin's avatar Joel Martin

Remove left over record code. Squelch compile warnings

parent f61274c8
......@@ -56,6 +56,10 @@
# define md5_read_ctx __md5_read_ctx
# define md5_stream __md5_stream
# define md5_buffer __md5_buffer
#else
/* Squelch compiler complaints */
void md5_process_bytes (const void *buffer, size_t len, struct md5_ctx *ctx);
void md5_process_block (const void *buffer, size_t len, struct md5_ctx *ctx);
#endif
#ifdef WORDS_BIGENDIAN
......
......@@ -14,7 +14,6 @@ typedef struct {
int handler_id;
int ssl_only;
int daemon;
char *record;
char *cert;
} settings_t;
......
......@@ -273,13 +273,6 @@ int main(int argc, char *argv[])
case 'f':
foreground = 1;
break;
case 'r':
if ((fd = open(optarg, O_CREAT,
S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH)) < -1) {
usage("Could not access %s\n", optarg);
}
close(fd);
break;
case 'c':
settings.cert = realpath(optarg, NULL);
if (! settings.cert) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment