X-Git-Url: http://git.cascardo.eti.br/?a=blobdiff_plain;f=utilities%2Fovs-pki.in;h=a96ada31c722ee39f50a9391e7d95977b2478002;hb=9b5422a98f817b9f2a1f8224cab7e1a8d0bbba1f;hp=6081a5e22da64e21db21d116cdff2a69d306f3bc;hpb=8492d147e9662066e1e3f53b3ed7f70d5184897f;p=cascardo%2Fovs.git diff --git a/utilities/ovs-pki.in b/utilities/ovs-pki.in index 6081a5e22..a96ada31c 100755 --- a/utilities/ovs-pki.in +++ b/utilities/ovs-pki.in @@ -1,6 +1,6 @@ #! /bin/sh -# Copyright (c) 2008, 2009, 2010, 2011, 2012, 2013 Nicira, Inc. +# Copyright (c) 2008, 2009, 2010, 2011, 2012, 2013, 2014 Nicira, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -195,7 +195,7 @@ if test -z "$dsaparam"; then dsaparam=$pkidir/dsaparam.pem fi case $log in - /*) ;; + /* | ?:[\\/]*) ;; *) log=`pwd`/$log ;; esac @@ -274,7 +274,7 @@ private_key = $dir/private/cakey.pem# CA private key RANDFILE = $dir/private/.rand # random number file default_days = 3650 # how long to certify for default_crl_days= 30 # how long before next CRL -default_md = md5 # md to use +default_md = sha1 # message digest to use policy = policy # default policy email_in_dn = no # Don't add the email into cert DN name_opt = ca_default # Subject name display option @@ -462,7 +462,7 @@ sign_request() { pkidir_must_exist case "$1" in - "/"*) + /* | ?:[\\/]*) request_file="$1" ;; *)