Remove left over record code. Squelch compile warnings

This commit is contained in:
Joel Martin 2010-11-06 10:53:32 -05:00
parent f61274c827
commit e70f1d947e
3 changed files with 4 additions and 8 deletions

View File

@ -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

View File

@ -14,7 +14,6 @@ typedef struct {
int handler_id;
int ssl_only;
int daemon;
char *record;
char *cert;
} settings_t;

View File

@ -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) {