fix subject in generated certificates

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44149
This commit is contained in:
Jo-Philipp Wich 2015-01-25 23:33:49 +00:00
parent 0798de785e
commit 542b6c30e5
2 changed files with 4 additions and 5 deletions

View file

@ -1,5 +1,5 @@
# #
# Copyright (C) 2010-2014 Jo-Philipp Wich <xm@subsignal.org> # Copyright (C) 2010-2015 Jo-Philipp Wich <jow@openwrt.org>
# #
# This is free software, licensed under the GNU General Public License v2. # This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information. # See /LICENSE for more information.
@ -8,9 +8,8 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=px5g PKG_NAME:=px5g
PKG_RELEASE:=2 PKG_RELEASE:=3
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)
PKG_USE_MIPS16:=0 PKG_USE_MIPS16:=0
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
@ -19,7 +18,7 @@ define Package/px5g
SECTION:=utils SECTION:=utils
CATEGORY:=Utilities CATEGORY:=Utilities
TITLE:=X.509 certificate generator (using PolarSSL) TITLE:=X.509 certificate generator (using PolarSSL)
MAINTAINER:=Jo-Philipp Wich <xm@subsignal.org> MAINTAINER:=Jo-Philipp Wich <jow@openwrt.org>
DEPENDS:=+libpolarssl DEPENDS:=+libpolarssl
endef endef

View file

@ -188,7 +188,7 @@ int selfsigned(char **arg)
} }
memcpy(newc, oldc, delim - oldc); memcpy(newc, oldc, delim - oldc);
newc += delim - oldc; newc += delim - oldc;
*newc++ = ';'; *newc++ = ',';
oldc = delim + 1; oldc = delim + 1;
} while(*delim); } while(*delim);
arg++; arg++;