Skip to content

Commit eb230bc

Browse files
committed
refining
1 parent 140f079 commit eb230bc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ WORKDIR /root/dl
2525

2626
# get our JWT module
2727
# change this to get a specific version?
28-
RUN wget https://github.com/TeslaGov/$TESLA_REPO_NAME/archive/joefitz/match-rh-nginx110-version.zip && \
29-
unzip match-rh-nginx110-version.zip && \
28+
ADD https://github.com/TeslaGov/$TESLA_REPO_NAME/archive/joefitz/match-rh-nginx110-version.zip .
29+
RUN unzip match-rh-nginx110-version.zip && \
3030
rm match-rh-nginx110-version.zip && \
3131
ln -sf $TESLA_REPO_NAME-joefitz-match-rh-nginx110-version $TESLA_REPO_NAME
3232

src/ngx_http_auth_jwt_module.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ static void * ngx_http_auth_jwt_create_loc_conf(ngx_conf_t *cf);
2222
static char * ngx_http_auth_jwt_merge_loc_conf(ngx_conf_t *cf, void *parent, void *child);
2323
static int hex_char_to_binary( char ch, char* ret );
2424
static int hex_to_binary( const char* str, u_char* buf, int len );
25-
static char * ngx_str_t_to_char_ptr(ngx_pool_t *pool, ngx_str_t str);
25+
static char * ngx_str_t_to_char_ptr(ngx_pool_t *pool, ngx_str_t *str);
2626

2727
static ngx_command_t ngx_http_auth_jwt_commands[] = {
2828

0 commit comments

Comments
 (0)