C:\Users\dell\Desktop\ssl>openssl req -x509-nodes-days365-newkey rsa:2048 -keyout localhost.key -out localhost.crt
...+.....+.......+.....+.+.........+++++++++++++++++++++++++++++++++++++++*.......+...+.+++++++++++++++++++++++++++++++++++++++*..........+....+.................+.............+...+........+.+......+...+......+.....+.........+.+...+..+.............+...+...+.........+.....+...+....+.....+..................+.+......+...+............+.........+.....+.......+.........+.........+...........+...............+..........+......+...+.....+.......+........+......+.+.....+.........+.+.........+.....+....+.....++++++
......+......+..+.......+...+..+++++++++++++++++++++++++++++++++++++++*.........+.+...+..+.......+...+..+.+..............+......+++++++++++++++++++++++++++++++++++++++*.....+..+...+......+.........+.+......+......+........+......+.+...+..+.......+..+.............+.....+...............+......+................+...............+.....+................+...+.........+.....+..........+......+.....+.+...........+....+.....+.........+.+......+..+.....................+....+..+...............+...............+..................+.+..+.........+....+.....+.+.....+.+.........+...+...++++++
-----
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
-----
Country Name (2 letter code)[AU]:CN
State or Province Name (full name)[Some-State]:Guangzhou
Locality Name (eg, city)[]:Guangzhou
Organization Name (eg, company)[Internet Widgits Pty Ltd]:xu
Organizational Unit Name (eg, section)[]:fu
Common Name (e.g. server FQDN or YOUR name)[]:xu.com.cn
Email Address []:root@xu.com.cn
目录
带有副作用的代码
带有副作用的宏参数 结论 带有副作用的代码
代码演示:
int a 10;int b a;
副作用解析:
变量 a 在赋值给 b 之前 a 的值自增了1,那么 int b a; 这条代码就带有副作用 带有副作用的宏参数
代码演示:…